class Story < ActiveRecord::Base
  belongs_to :iteration
  has_many :agile_tasks
  
  validates_presence_of :name
  
  def project
    iteration.project
  end
  
end
